package com.landinfo.service;

import com.landinfo.domain.EquipmentManagement;
import com.landinfo.service.dto.EquipmentManagementDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Service Interface for managing EquipmentManagement.
 */
public interface EquipmentManagementService {

    /**
     * Save a equipmentManagement.
     *
     * @param equipmentManagementDTO the entity to save
     * @return the persisted entity
     */
    EquipmentManagementDTO save(EquipmentManagementDTO equipmentManagementDTO);

    /**
     *  Get all the equipmentManagements.
     *
     *  @param pageable the pagination information
     *  @return the list of entities
     */
    Page<EquipmentManagementDTO> findAll(Pageable pageable);

    Iterable<EquipmentManagement> findAll();

    /**
     *  Get the "id" equipmentManagement.
     *
     *  @param id the id of the entity
     *  @return the entity
     */
    EquipmentManagementDTO findOne(Long id);

    EquipmentManagement findByImei(String imei);

    /**
     *  Delete the "id" equipmentManagement.
     *
     *  @param id the id of the entity
     */
    void delete(Long id);
}
